package com.ruoyi.system.service.customer;

import com.ruoyi.system.domain.supe.DistributionTeam;

import java.util.List;

public interface DistributionTeamService {

    /**
     * 查询商家分销
     *
     * @param distributionId 商家分销ID
     * @return 商家分销
     */
    public DistributionTeam selectDistributionTeamById(Long distributionId);
    public List<DistributionTeam> supplierIdById(Long supplierId);
    public String checksupplierIdUnique(Long supplierId);
    public String checkPhoneUnique(DistributionTeam distributionTeam);
    /**
     * 查询商家分销列表
     *
     * @param distributionTeam 商家分销
     * @return 商家分销集合
     */
    public List<DistributionTeam> selectDistributionTeamList(DistributionTeam distributionTeam);

    /**
     * 新增商家分销
     *
     * @param distributionTeam 商家分销
     * @return 结果
     */
    public int insertDistributionTeam(DistributionTeam distributionTeam);

    /**
     * 修改商家分销
     *
     * @param distributionTeam 商家分销
     * @return 结果
     */
    public int updateDistributionTeam(DistributionTeam distributionTeam);

    /**
     * 批量删除商家分销
     *
     * @param distributionIds 需要删除的商家分销ID
     * @return 结果
     */
    public int deleteDistributionTeamByIds(Long[] distributionIds);

    /**
     * 删除商家分销信息
     *
     * @param distributionId 商家分销ID
     * @return 结果
     */
    public int deleteDistributionTeamById(Long distributionId);

}
